import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/vant.js'

//引入axios 并全局挂载
import api from '@/api';
//引用全局样式
import '../public/global.css'
//引入字体图标
import '../public/font/iconfont.css';
//引入瀑布流插件
import { VueMasonryPlugin } from 'vue-masonry';
Vue.use(VueMasonryPlugin)
Vue.config.productionTip = false

new Vue({
  beforeCreate() {
    Vue.prototype.$API = api
  },
  router,
  render: h => h(App)
}).$mount('#app')
